import request from '@/utils/request'
import { encryptionData } from '@/utils/com'
import Qs from 'qs'
/* 获取首页信息 */
export function getList(data) {
  return request({
    url: '/jcdGys/workbench/indexStatistics',
    method: 'get',
    headers: encryptionData(data, '/workbench/indexStatistics'),
    params: data
  })
}

/* 获取访客日志 */
export function getSysOper(data) {
  return request({
    url: '/jcdPub/sysOper/page',
    method: 'get',
    headers: encryptionData(data, '/sysOper/page'),
    params: data
  })
}
/* 入网申请资料 */
export function addInfo(data) {
  return request({
    url: '/jcdGys/jcdSandAcctInfo/addInfo',
    method: 'post',
    headers: encryptionData(data, '/jcdSandAcctInfo/addInfo'),
    data: Qs.stringify(data)
  })
}
